#ifndef HISTOGRAMGRAY_H
#define HISTOGRAMGRAY_H
#include "histogram.h"



class HistogramGray : public Histogram
 {
    private:
        unsigned int * histogram;
        unsigned long *  CDF;
    public:
	HistogramGray();
        HistogramGray(QImage*);
        HistogramGray(QImage);
        //HistogramGray(LImage);
	~HistogramGray();
        void calcHistogram();
	void calcHistImage();
        void  calcCDF();
        unsigned long * getCDF();
};
#endif //HISTOGRAMGRAY_H
